<?php 	
	include_once('db_manage.php');
	$username = $_GET['username'];
//	$username = "ckdjq";
//	echo "<br>".$username;
	$sql = "select username from cdb_members where username = '".$username."'";
//	echo "<br>".$sql."<br>";	
	$result = mysql_query($sql);
	while($rs=mysql_fetch_object($result)){
		$foundusr = $rs->username;
	}
	if($foundusr==""){
		echo '0';
	}else{
		echo '1';
	}
	exit();
?>
